import Styled from 'styled-components';
let NewsStyled=Styled.div`
    header img{
        width:100%;
        height:16rem;
    }
    section{
        width:22rem;
        margin:1rem auto;
    }
    .newsbox{
        border:1px solid gray;
        width:100%;
        height:8rem;
        margin:0.5rem 0;
        display:flex;
        justify-content:space-between;
        img{
            width:8rem;
            height:8rem;
        }
        .newstext{
            width:12rem;
            height:8rem;
            margin-right:1rem;
            margin-top:0.5rem;
            margin-bottom:0.5rem;
            h4{
                font-size:0.9rem;
                font-weight:10;
                margin-bottom:0.5rem;
            }
            p{
                font-size:0.7rem;
                margin-bottom:0.5rem;
                color:gray;
            }
            span{
                font-size:0.7rem;
            }
        }
    }


`;
export default NewsStyled;